Programming Flow Fields